package com.hoshino.momochi.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshino.momochi.mapper.StudentMapper;
import com.hoshino.momochi.model.domain.Student;
import com.hoshino.momochi.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Autowired
    public StudentMapper studentMapper;

    @Override
    public Student MygetAdminByStudentId(Long id) {
        return studentMapper.MygetAdminByStudentId(id);
    }
}
